@echo off 
cd _master_bats
call config.bat
cd..
if "%2"=="" (
if exist %MASTER_SRC_PATH%\%1.H goto :error
cd %MASTER_SRC_PATH%
@echo #ifndef __%1_H >%MASTER_SRC_PATH%\%1.H 
@echo #define __%1_H >>%MASTER_SRC_PATH%\%1.H 
@echo. >>%MASTER_SRC_PATH%\%1.H 
@echo. >>%MASTER_SRC_PATH%\%1.H 
@echo. >>%MASTER_SRC_PATH%\%1.H 
@echo #endif // __%1_H >>%MASTER_SRC_PATH%\%1.H 
) else (
if exist %SPECIFIC_SRC_PATH%\%1.H goto :error
cd %SPECIFIC_SRC_PATH%
copy /Y %MASTER_SRC_PATH%\%1.H > NUL 
)
goto :end
:error
cd..
